package top.oylan.manager.entity.api.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.oylan.manager.entity.api.entity.ProductEntity;

import java.util.List;

/**
 * @Author abduahad
 * @Description ${description}
 * @Date 2019-06-02
 */
@Data
public class ProductResult {

    @ApiModelProperty("总数")
    private int totalRow;

    @ApiModelProperty("总页数")
    private int totalPage;

    @ApiModelProperty("每页条数")
    private int rowSize;

    @ApiModelProperty("当前页数")
    private int currentPage;

    @ApiModelProperty("数据")
    private List<ProductEntity> productEntities;
}
